package com.vsd.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.demo.domain.UserNotify;


/**
 * 用户服务网接口定义
 * 
 * @author jiekechoo
 *
 */
public interface UserNotifyService {
	
	void updateRead(String userId,Integer type);
	void updateRead(String id);
	public Page<UserNotify> findByUserIdAndType(String userId,Integer type,Pageable p);
	void delete(String id);
	void deleteByUserIdAndType(String userId,Integer type);
	UserNotify findOne(String id);
	
}
